/**
 * 权限自定义
 *
 */

export default [
  {
    name: '首页',
    icon: 'tachometer-alt',
    route: 'home',
    id: 1,
    parentId: 0
  },
  {
    name: '文档',
    icon: 'file-alt',
    route: 'doc',
    id: 2,
    parentId: 0
  },

  {
    name: '权限配置',
    icon: '',
    route: 'doc-permission',
    id: 115,
    parentId: 2
  },
  {
    name: '打包配置',
    icon: '',
    route: 'build',
    id: 107,
    parentId: 2
  },

  //
  {
    name: '富文本编辑器',
    icon: 'edit',
    id: 1701,
    parentId: 0
  },
  {
    name: 'wangEditor',
    icon: '',
    route: 'editor-wangEditor',
    id: 1702,
    parentId: 1701
  },

  // 菜单
  {
    name: '无限级菜单',
    icon: 'bars',
    route: '',
    id: 301,
    parentId: 0
  },
  {
    name: '菜单A组',
    icon: 'bars',
    id: 302,
    parentId: 301
  },
  {
    name: '菜单A组01',
    route: 'menu',
    id: 303,
    parentId: 302
  },
  {
    name: '菜单A组02',
    route: 'menu2',
    id: 304,
    parentId: 302
  },
  {
    name: '菜单B组',
    icon: 'bars',
    id: 306,
    parentId: 301
  },
  //
  {
    name: '商家管理',
    icon: 'store',
    route: 'store',
    id: 1401,
    parentId: 0
  },
  //
  {
    name: '系统管理',
    icon: 'cogs',
    route: '',
    id: 2201,
    parentId: 0
  },
  {
    name: '管理员',
    icon: '',
    route: 'system-user',
    id: 2202,
    parentId: 2201
  },
  {
    name: '角色管理',
    icon: '',
    route: 'system-role',
    id: 2203,
    parentId: 2201
  },
  {
    name: '菜单管理',
    icon: '',
    route: 'system-menu',
    id: 2204,
    parentId: 2201,
    permission: 'system-menu, system-menu-m'
  },
  //
  {
    id: 3123324,
    parentId: 2204,
    name: '用户列表',
    type: 2,
    icon: '',
    order: 0,
    route: '',
    link: '',
    permission: 'system-user-list,system-user-items',
  },
  {
    id: 4356464,
    parentId: 2204,
    name: '添加用户',
    type: 2,
    icon: '',
    order: 0,
    route: '',
    link: '',
    permission: 'system-add-user',
  },
];
